package com.xs.message;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

public interface Sender {

	String userInfo = "userInfo_sender";
	String orderInfo = "orderInfo_sender";
	String commentInfo = "commentInfo_sender";

	@Output(Sender.userInfo)
	MessageChannel  sendUserInfo();

	@Output(Sender.orderInfo)
	MessageChannel  sendOrderInfo();

	@Output(Sender.commentInfo)
	MessageChannel  sendCommentInfo();
}
